import request from '../request.js';

/**
 *  获取轮播图banners
 */
function bannerAds() {
	return request({
		url: "/lejuClient/home/bannerAds",
	});
}

/**
 * 乐居4个主分类
 */
function findCategory() {
	return request({
		url: "/lejuClient/productCategory/findCategory/1308336521604599809"
	})
}

/**
 * 限时活动
 */

function recommendList() {
	return request({
		url: '/lejuClient/home/recommendList'
	});
}

/**
 * 热门推荐
 */

function hotList() {
	return request({
		url: "/lejuClient/home/hotList"
	})
}

/**
 * 新品推荐
 */
function lejuLatestProducts() {
	return request({
		url: "/lejuClient/home/lejuLatestProducts"
	});
}

/**
 * 猜你喜欢
 */
function saleMostProducts() {
	return request({
		url: "/lejuClient/home/saleMostProducts"
	});
}

export {
	bannerAds,
	findCategory,
	recommendList,
	hotList,
	lejuLatestProducts,
	saleMostProducts
}
